import{ observable, action } from 'mobx-miniprogram'
export const store = observable({
  activeTabbarIndex: 0,
  //修改索引值
  updateActiveTabbarIndex :action(function (index) {
    this.activeTabbarIndex = index
  })
})